package br.usp.icmc.client.entidades;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/***********************************************************
 * 
 * <b> <br> Projeto: Aplicativo Cliente <br><b>
 * 
 * Classe da entidade KeyWord
 * 
 * @author felipe
 *
 ***********************************************************/
public class KeyWord implements Serializable{
	

	private long idKeyWord;
	
	private String word;
	
	private Set<KeyWord> words = new HashSet<KeyWord>(); 
	
	public KeyWord() {
		// TODO Auto-generated constructor stub
	}
	
	public KeyWord(String word) {		
		this.word = word;
	}
	
	public long getIdKeyWord() {
		return idKeyWord;
	}
	
	private void setIdKeyWord(long idKeyWord) {
		this.idKeyWord = idKeyWord;
	}
	
	public String getWord() {
		return word;
	}
	
	public void setWord(String word) {
		this.word = word;
	}
	
	public Set<KeyWord> getWords() {
		return words;
	}

	public void setWords(Set<KeyWord> words) {
		this.words = words;
	}
	

}
